package celiasoft.itasalib.query.result;

public class QueryResultError {

	private int _errorCode;
	private	String _errorMessage;
	
	public QueryResultError(int errorCode, String errorMessage) {
		super();
		this.setErrorCode(errorCode);
		this._errorMessage = errorMessage;
	}

	/**
	 * @return the errorCode
	 */
	public int getErrorCode() {
		return _errorCode;
	}

	/**
	 * @param errorCode the errorCode to set
	 */
	public void setErrorCode(int errorCode) {
		this._errorCode = errorCode;
	}

	/**
	 * @return the errorMessage
	 */
	public String getErrorMessage() {
		return _errorMessage;
	}

	/**
	 * @param errorMessage the errorMessage to set
	 */
	public void setErrorMessage(String errorMessage) {
		this._errorMessage = errorMessage;
	}
	
}
